Related Vulnerabilities: CVE-2021-23017  

A security issue in nginx resolver was identified, which might allow an attacker to cause 1-byte memory overwrite by using a specially crafted DNS response, resulting in worker process crash or, potentially, in arbitrary code execution. The issue only affects nginx if the "resolver" directive is used in the configuration file. Further, the attack is only possible if an attacker is able to forge UDP packets from the DNS server.

Severity Medium

Remote Yes

Type Arbitrary code execution

Description

A security issue in nginx resolver was identified, which might allow an attacker to cause 1-byte memory overwrite by using a specially crafted DNS response, resulting in worker process crash or, potentially, in arbitrary code execution.
The issue only affects nginx if the "resolver" directive is used in the configuration file.  Further, the attack is only possible if an attacker is able to forge UDP packets from the DNS server.

AVG-1988 nginx 1.20.0-1 Medium Vulnerable

AVG-1987 nginx-mainline 1.19.10-1 Medium Vulnerable

http://nginx.org/download/patch.2021.resolver.txt